home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / PowerPlant / CGI++ Framework / <CGI Starter Header>.h next >
Encoding:
Text File  |  1995-11-17  |  959 b   |  31 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    <CGI Starter Header>.h            ©1995 Brian Todoroff All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include "LCGIApplication.h"
  8.  
  9.  
  10. class    CGIStarterApp : public LCGIApplication {
  11. public:
  12.                         CGIStarterApp();        // constructor registers all PPobs
  13.     virtual             ~CGIStarterApp();        // stub destructor
  14.     
  15.         // this overriding function performs application functions
  16.         
  17.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  18.     
  19.         // this overriding function returns the status of menu items
  20.         
  21.     virtual void        FindCommandStatus(CommandT inCommand,
  22.                             Boolean &outEnabled, Boolean &outUsesMark,
  23.                             Char16 &outMark, Str255 outName);
  24.  
  25.     // This function responds to the CGI call
  26.     virtual    void        HandleCGICall(CGIData &,LCHandleStream &);
  27.  
  28. protected:
  29.  
  30.     virtual void        StartUp();        // overriding startup functions
  31. };